class UserBasic {
  String realName;
  String deptName;
  String headUrl;
  String jobNumber;

  UserBasic({this.realName, this.deptName, this.headUrl, this.jobNumber});

  static UserBasic fromJson(Map<String, dynamic> json) {
    return UserBasic(
      realName: json['realname'] ?? '',
      deptName: json['deptName'] ?? '',
      headUrl: json['headUrl'] ?? '',
      jobNumber: json['jobNumber'],
    );
  }
}
